package cn.com.api.entity.base;

import java.io.Serializable;
import java.util.Date;

// T_delivery_account_state Entity

/// <summary>
/// Datetime: 2016/1/6 15:27:03		
/// Genegrated automatically. Don't write your logic code here.	
/// the entity of table T_delivery_account_state.
/// </summary>

public class T_delivery_account_stateBase implements Serializable {

	private static final long serialVersionUID = 00L;

	// Genegrated Automatically.

	// 主键--该表配送员的在离岗状态统计 Id
	private Integer id;

	// 配送员id U_id
	private String u_id;

	// 配送员当前状态：0： 离岗 1：在岗 2：小休 Curr_status
	private Integer curr_status;

	// 切换时间 Change_time
	private Date change_time;

	// 切换到的下一状态：0： 离岗 1：在岗 2：小休 To_status
	private Integer to_status;

	// 该状态的持续时间 Duration
	private Integer duration;

	public T_delivery_account_stateBase() {
		super();
	}

	public T_delivery_account_stateBase(Integer id, String u_id, Integer curr_status, Date change_time,
			Integer to_status, Integer duration) {
		this.id = id;
		this.u_id = u_id;
		this.curr_status = curr_status;
		this.change_time = change_time;
		this.to_status = to_status;
		this.duration = duration;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	// U_id
	public String getU_id() {
		return this.u_id;
	}

	public void setU_id(String u_id) {
		this.u_id = u_id;
	}

	// Curr_status
	public Integer getCurr_status() {
		return this.curr_status;
	}

	public void setCurr_status(Integer curr_status) {
		this.curr_status = curr_status;
	}

	// Change_time
	public Date getChange_time() {
		return this.change_time;
	}

	public void setChange_time(Date change_time) {
		this.change_time = change_time;
	}

	// To_status
	public Integer getTo_status() {
		return this.to_status;
	}

	public void setTo_status(Integer to_status) {
		this.to_status = to_status;
	}

	// Duration
	public Integer getDuration() {
		return this.duration;
	}

	public void setDuration(Integer duration) {
		this.duration = duration;
	}

}
